<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <ul id="example-1">
        <!-- <li v-for="item in items">{{ item.message }}</li> -->
        <!-- <li v-for="(item, index) in items">{{index }}-{{ item.message }}</li> -->
        <!-- <template v-for="item in items">
            <li>{{item.message}}</li>
            <li>extra</li>
        </template> -->
    </ul>

    <ul id="app2">
        <li v-for="(value, key, index) in object">{{ value }} {{ key }} {{index}}</li>
    </ul>

    <div id="app3">
        <span v-for="n in 10">{{ n }}</span>
    </div>
    <script src="../js/vue.js" charset="utf-8"></script>
    <script type="text/javascript">
        // var example1 = new Vue({
        //     el: '#example-1',
        //     data: {
        //         items: [
        //             {message: 'foo'},
        //             {message: 'Bar'}
        //         ]
        //     }
        // })

        new Vue({
            el: '#app2',
            data: {
                object: {
                    LastName: 'Doe',
                    FirstName: 'John',
                    Age: 30
                }
            }
        })

        new Vue({
            el: '#app3'
        })
    </script>
</body>
</html>
